home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
422_03
/
6811.asm
< prev
next >
Wrap
Assembly Source File
|
1994-02-25
|
3KB
|
388 lines
*
* Test file to verify instructions and addressing modes of: 68HC11
*
IMM EQU $12
DIR EQU $34
EXT EQU $5678
*
ABA
ABX
ABY
*
ADCA #IMM
ADCA DIR
ADCA EXT
ADCA 1,X
ADCA 1,Y
ADCB #IMM
ADCB DIR
ADCB EXT
ADCB 1,X
ADCB 2,Y
*
ADDA #IMM
ADDA DIR
ADDA EXT
ADDA 1,X
ADDA 1,Y
ADDB #IMM
ADDB DIR
ADDB EXT
ADDB 1,X
ADDB 2,Y
*
ADDD #EXT
ADDD DIR
ADDD EXT
ADDD 1,X
ADDD 2,Y
*
ANDA #IMM
ANDA DIR
ANDA EXT
ANDA 1,X
ANDA 1,Y
ANDB #IMM
ANDB DIR
ANDB EXT
ANDB 1,X
ANDB 2,Y
*
ASLA
ASLB
ASL DIR
ASL EXT
ASL 1,X
ASL 1,Y
ASLD
*
ASRA
ASRB
ASR DIR
ASR EXT
ASR 1,X
ASR 1,Y
*
BCLR DIR;$12
BCLR 1,X;$34
BCLR 2,Y;$56
BSET DIR;$12
BSET 1,X;$34
BSET 2,Y;$56
*
BCS *
BEQ *
BGE *
BGT *
BHI *
BHS *
BLE *
BLO *
BLS *
BLT *
BMI *
BNE *
BPL *
BRA *
BRN *
BSR *
BVC *
BVS *
*
BITA #IMM
BITA DIR
BITA EXT
BITA 1,X
BITA 1,Y
BITB #IMM
BITB DIR
BITB EXT
BITB 1,X
BITB 2,Y
*
BRCLR DIR;$12,*
BRCLR 1,X;$34,*
BRCLR 2,Y;$34,*
BRSET DIR;$12,*
BRSET 1,X;$34,*
BRSET 2,Y;$34,*
*
CBA
CLC
CLI
CLV
*
CLRA
CLRB
CLR EXT
CLR 1,X
CLR 2,Y
*
CMPA #IMM
CMPA DIR
CMPA EXT
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